﻿@using BootstrapBlazor.Shared.Components
@using Microsoft.AspNetCore.Components.Web
@namespace BootstrapBlazor.Server
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="bootstrap,blazor,wasm,webassembly,UI,netcore,web,assembly">
    <meta name="description" content="基于 Bootstrap 风格的 Blazor UI 组件库，用于研发企业级中后台产品。">
    <meta name="author" content="argo (argo@live.ca)">
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="apple-touch-icon" href="favicon.png">
    <base href="~/">
    <link rel="stylesheet" href="~/_content/BootstrapBlazor.FontAwesome/css/font-awesome.min.css" asp-append-version="true">
    <link rel="stylesheet" href="~/_content/BootstrapBlazor.MaterialDesign/css/md.min.css" asp-append-version="true">
    <link rel="stylesheet" href="~/_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css" asp-append-version="true">
    <link rel="stylesheet" href="~/_content/BootstrapBlazor/css/motronic.min.css" asp-append-version="true">
    <link rel="stylesheet" href="~/BootstrapBlazor.Server.styles.css" asp-append-version="true">
    <link rel="stylesheet" href="~/css/site.css" asp-append-version="true">
    <link rel="stylesheet" href="~/css/motronic.css" asp-append-version="true">
    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body>
    @RenderBody()

    <div id="blazor-error-ui">
        <span>
            <environment include="Staging,Production">
                An error has occurred. This application may no longer respond until reloaded.
            </environment>
            <environment include="Development">
                An unhandled exception has occurred. See browser dev tools for details.
            </environment>
        </span>
        <a href="" class="reload">Reload</a>
        <a class="dismiss"><i class="fa-solid fa-xmark"></i></a>
    </div>

    <component type="typeof(ReconnectorOutlet)" param-AutoReconnect="true" param-ReconnectInterval="5000" render-mode="Server" />
    <component type="typeof(UpdateIntro)" render-mode="Server" />

    <script src="~/_content/BootstrapBlazor.SummerNote/js/jquery-3.5.1.min.js" asp-append-version="true"></script>
    <environment include="Development">
        <script src="~/_content/BootstrapBlazor/js/bootstrap.blazor.bundle.js" asp-append-version="true"></script>
    </environment>
    <environment include="Staging,Production">
        <script src="~/_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js" asp-append-version="true"></script>
    </environment>
    <script src="~/_framework/blazor.server.js" asp-append-version="true"></script>
    <environment include="Staging,Production">
        <script type="text/javascript" src="https://cdn.wwads.cn/js/makemoney.js" asp-append-version="true"></script>
        <script type="text/javascript" src="~/lib/wwads/wwads.js" asp-append-version="true"></script>
        <script>
            var _hmt = _hmt || [];
            (function () {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?f147c9b2e3e0cc2b629c6390e5ffe377";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();
        </script>
    </environment>
</body>
</html>
